﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Eamon.MeituanDotnetSDK.attribute
{
    [AttributeUsage(AttributeTargets.Class, Inherited = false)]
    public class ApiMetaAttribute : Attribute
    {
        public string Path { get; set; }
        public int BusinessId { get; set; }
        public string ApiVersion { get; set; }
        public string ApiName { get; set; }
        public bool NeedAuth { get; set; }

        public ApiMetaAttribute()
        {

        }
        public ApiMetaAttribute(string path, int businessId, string apiVersion, string apiName, bool needAuth)
        {
            Path = path;
            BusinessId = businessId;
            ApiVersion = apiVersion;
            ApiName = apiName;
            NeedAuth = needAuth;
        }
    }
}
